PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

WriteIconFile

Copies data from a given icon family into a file.

pascal OSErr WriteIconFile(
                     IconFamilyHandleiconFamily
                     const FSSpec*iconFile)

iconFamily
A handle to an iconFamily data structure to be used as the source for icon data. For more information on the IconFamily data structure, see Figure 2-1 .

iconFile
A pointer to a file specification structure (FSSpec ) specifying a file to use as a target for icon data.

function result
A result code. See Icon Services Result Codes for a description of possible return values.

© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)